package com.example.demo.lab2.mapper;

import com.example.demo.lab2.entity.Departments;
import com.example.demo.lab2.entity.EmpWithDep;
import com.example.demo.lab2.entity.Employees;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;


@Mapper
public interface EmployeesMapper {
    int insert(Employees employee);

    int delete(BigDecimal id);

    int update(Employees employee);

    List<Employees> list();

    List<EmpWithDep> listWithDep();
}
